<!DOCTYPE html>
<html>
{include file="head.html"}
<body>
<div class="fullscreen">
  <div class="scroll_content">
    <div class="topfixed">
      <div class="t_left"><a href="/index.php?m=user&a=edilist"><i class="back"></i></a></div>
      <div class="t_main">修改信息</div>
    </div>
    {include file="user/incuser.html"}
     <div class="comblock">
      <form method="post" id="user-form" action="/index.php?m=user&a=save">
                <table class="order_pingjia_table">
                    <tr>
                        <th>昵称：</th>
                        <td><input type="text" name="nickname" value="{$user.nickname}" class="inp"></td>
                    </tr>
                    <tr>
                        <th>性别：</th>
                        <td><input type="radio" name="gender" {if $user.gender neq 2} checked{/if} value="1" id="sex_man"> <label for="sex_man">男</label> &nbsp; <input
                                type="radio" name="gender" {if $user.gender eq 2} checked{/if} value="2" id="sex_women"> <label for="sex_women">女</label></td>
                    </tr>
                     
                </table>
                 <button class="cart_change_btn" id="edi-submit" type="button">保存</button>
                </form>
            </div>
            
            
   </div>
   </div>
 
 
<script>
 

$(function(){
	$("#edi-submit").on("click",function(){
		$.post("/index.php?m=user&a=save&ajax=1",$("#user-form").serialize(),function(user){
			if(user.error){
				skyToast(user.message);
			}else{
				skyToast("保存成功");
			}
		},"json");
	});
});
</script>
</div>
</div>
 
</div>
{include file="footer.html"}
</div>
</body>
</html>